package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IWorkerCertAuditService extends IService<WorkerCertificationAudit> {
    /**
     * 服务人员实名认证功能
     * @param dto 实名信息
     * @param request request
     */
    void WorkeRealNameAuthentication(WorkerCertificationAuditAddReqDTO dto, HttpServletRequest request);

    /**
     * 查询当前服务人员用户实名认证的驳回原因功能
     * @param request request
     * @return Map
     */
    Map<String, String> rejectReason(HttpServletRequest request);

    /**
     * 服务人员实名认证
     * @param id  id
     * @param wca 认证参数信息
     */
    void audit(Long id, WorkerCertificationAudit wca);
}
